

import Vue from "vue"
import {mapState,mapMutations, mapActions} from "vuex" 
Vue.mixin({
    computed:{
        ...mapState(['appphone','userinfo','cityinfo'])
    },
    data(){
        return{
            countnum:30,
            userphone:"123123"
        }
    },
   methods:{
       ...mapMutations(['changeAppPhone','changeUserInfo','resetUserInfo','changeCityInfo'])
   },
   created(){
    //    if(!this.cityinfo){

    //        this.$router.push({name:'city'})
    //    }
   }
})